package com.tanhua.dubbo.api.db;

import com.tanhua.domain.db.SoultestResult;

import java.util.List;

public interface SoultestResultApi {
    //根据当前用户Id和试卷Id查询
    SoultestResult getResult(Long userId, Long id);

    //根据当前用户查询报告表中类别最高的记录
    SoultestResult getBigPaperId(Long userId);

    SoultestResult getById(Long id);

    List<SoultestResult> getSimilarYou(Long type);

    String saveReport(SoultestResult soultestResult);

    SoultestResult findOne(SoultestResult soultestResult);

    void update(SoultestResult soultestResult);

}
